import request from '@/utils/request'

// 查询追加押金申请列表
export function listAdditionalDeposit(query) {
  return request({
    url: '/module/additionalDeposit/list',
    method: 'get',
    params: query
  })
}

// 查询追加押金申请详细
export function getAdditionalDeposit(id) {
  return request({
    url: '/module/additionalDeposit/' + id,
    method: 'get'
  })
}

// 新增追加押金申请
export function addAdditionalDeposit(data) {
  return request({
    url: '/module/additionalDeposit',
    method: 'post',
    data: data
  })
}

// 修改追加押金申请
export function updateAdditionalDeposit(data) {
  return request({
    url: '/module/additionalDeposit',
    method: 'put',
    data: data
  })
}

// 删除追加押金申请
export function delAdditionalDeposit(id) {
  return request({
    url: '/module/additionalDeposit/' + id,
    method: 'delete'
  })
}
